package com.canal.collection.repository;

import com.canal.collection.entity.RtReg;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author yangbo
 * @date 2020-07-08 16:35
 */
public interface RtRegRepository extends JpaRepository<RtReg,Integer> {

    /**
     * 查询手机号是否已存在
     * @param phone
     * @return
     */
    RtReg findByPhone(String phone);
}
